Skip to content

Conversation

@saminaltamimi
Copy link
Contributor

Bootc upstream currently recommends the following:

--cap-add=all --security-opt=label=type:container_runtime_t --device /dev/fuse

If you look at the corresponding issue (https://gitlab.com/fedora/bootc/base-images/-/issues/43)

it becomes clear that --userns=host --security-opt=label=type:container_runtime_t will suffice.

Although the image builds now, following upstream guidance (especially if you're like me and you change the Containerfile) is probably better.

Bootc upstream currently recommends the following:

`--cap-add=all --security-opt=label=type:container_runtime_t --device /dev/fuse`

If you look at the corresponding issue (https://gitlab.com/fedora/bootc/base-images/-/issues/43)

it becomes clear that `--userns=host --security-opt=label=type:container_runtime_t` will suffice.

Although the image builds now, following upstream guidance (especially if you're like me and you change the Containerfile) is probably better.
@tulilirockz
Copy link
Member

Funnily enough I think this might not be necessary? These builds are effectively just a normal Containerfile build, but we compile bootc inside of it. I feel like this is probably necessary only images utilizing bootc-base-imagectl, which we don't need to do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants